package dancetiktokenumsmongo

const (
	TypeActivitiesRalo  = 1 //光环
	TypeActivitiesWings = 2 //翅膀
	TypeActivitiesScore = 3 //星光值

	//a:0 s；1 b:2
	TagS = 1 //s
	TagA = 2 //a
	TagB = 3 //b

	// 中奖获取类型
	DirectDrawd   = 0 // 0：直抽
	ExchangeDrawd = 1 //  1:兑换

)

type DanceActivitiesDrawPrizeUserLogAllEnums struct {
}

var DanceActivitiesDrawPrizeUserLogAllEnumsObject DanceActivitiesDrawPrizeUserLogAllEnums

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TypeActivities() []int {
	return []int{
		TypeActivitiesRalo,
		TypeActivitiesWings,
		TypeActivitiesScore,
	}
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TypeActivitiesMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.TypeActivities() {
		m[s] = s
	}
	return m
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TypeActivitiesString(tag int) string {
	switch tag {
	case TypeActivitiesRalo:
		return "光环" //
	case TypeActivitiesWings:
		return "翅膀" //
	case TypeActivitiesScore:
		return "星光值" //
	default:
		return "未知"
	}
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) Tag() []int {
	return []int{
		TagA,
		TagS,
		TagB,
	}
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TagMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.Tag() {
		m[s] = s
	}
	return m
}

func (e DanceActivitiesDrawPrizeUserLogAllEnums) TagString(tag int) string {
	switch tag {
	case TagA:
		return "a" //
	case TagS:
		return "s" //
	case TagB:
		return "b" //
	default:
		return ""
	}
}
